<?php if ('development' == APPLICATION_ENV): ?>
    <h1>An error occurred</h1>
    <h2><?php echo $this->message ?></h2>

    <h3>Exception information:</h3>
    <p>
      <b>Message:</b> <?php echo $this->exception->getMessage() ?>
    </p>

    <h3>Stack trace:</h3>
    <pre><?php echo $this->exception->getTraceAsString() ?>
    </pre>

    <h3>Request Parameters:</h3>
    <pre><?php echo var_export($this->request->getParams(), true) ?></pre>
<?php else: ?>
    <div class="cont_central" id="bkg_error">
        <div class="flecha-error">
                <img src="/css/interna/img/info-error.png" width="253" height="265"/>
        </div>
        <div class="info-error">
                <img src="/css/interna/img/logo_error.png" width="138" height="104"/>
                <p class="sorry">La página que intentas solicitar no está en el servidor. <br />Regresa a <a href="/" class="red">www.estuticket.com</a></p>
        </div>
    </div>

<?php endif; ?>